package com.gjzt.business.task.inter;

import com.gjzt.business.task.model.CheckResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckResultMapper {
    int deleteByPrimaryKey(@Param("taskId") String taskId, @Param("itemId") String itemId, @Param("templateId") String templateId);

    int insert(CheckResult record);

    CheckResult selectByPrimaryKey(@Param("taskId") String taskId, @Param("itemId") String itemId, @Param("templateId") String templateId);

    List<CheckResult> selectByTaskIdAndItemId(@Param("taskId") String taskId, @Param("itemId") String itemId);

    int updateByPrimaryKeySelective(CheckResult record);

    int updateByPrimaryKey(CheckResult record);

    int deleteByTaskId(@Param("taskId") String taskId);
}